package net.qhzw.vip.qiyu.feign.impl;

import net.qhzw.vip.qiyu.feign.OAuth2FeignClient;
import net.qhzw.vip.qiyu.util.JwtToken;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;


@Component
public class OAuth2FeignClientCallBack implements OAuth2FeignClient {

    @Override
    public ResponseEntity<JwtToken> getToken(String grantType, String username, String password, String loginType, String basicToken) {
        System.out.println(username);
        System.out.println(password);
        return null;
    }

    @Override
    public String getOpenId(String code) {
        return null;
    }
}
